<html>
<head><meta charset="utf-8"><title>structural navigation · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html">structural navigation</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="238057557"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238057557" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Manmeet Singh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238057557">(May 09 2021 at 19:57)</a>:</h4>
<p>a very early demo of structural navigation. I love rust analyzer and emacs<br>
<a href="/user_uploads/4715/XUabZgs1aq4rAjj69m-IIf9Z/structural-editting.gif">structural-editting.gif</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/XUabZgs1aq4rAjj69m-IIf9Z/structural-editting.gif" title="structural-editting.gif"><img src="/user_uploads/4715/XUabZgs1aq4rAjj69m-IIf9Z/structural-editting.gif"></a></div>



<a name="238057814"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238057814" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Manmeet Singh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238057814">(May 09 2021 at 20:00)</a>:</h4>
<p>(also it is sleep time for me now. Just wanted to leave this here, before sleeping)</p>



<a name="238086244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238086244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> azzamsa <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238086244">(May 10 2021 at 04:39)</a>:</h4>
<p>what emacs package do you use to accomplish this?</p>



<a name="238087306"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238087306" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Manmeet Singh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238087306">(May 10 2021 at 04:57)</a>:</h4>
<p>no additional package, ~80 lines of elisp and ~100 lines of rust analyzer code, basically a lsp extension</p>



<a name="238087795"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238087795" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> azzamsa <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238087795">(May 10 2021 at 05:04)</a>:</h4>
<p>So the keybinding shown is lsp-mode keybinding. I see. thanks</p>



<a name="238088180"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238088180" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Manmeet Singh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238088180">(May 10 2021 at 05:10)</a>:</h4>
<p>nah, I added keybindings my self and it sends a lsp request to get the (left, right, up, or down) node</p>



<a name="238116498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238116498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238116498">(May 10 2021 at 10:15)</a>:</h4>
<p>Yesss, we totally should have it!</p>



<a name="238116531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238116531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238116531">(May 10 2021 at 10:16)</a>:</h4>
<p>I feel that this is an under-explored UX for ides</p>



<a name="238123896"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/structural%20navigation/near/238123896" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Manmeet Singh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/structural.20navigation.html#238123896">(May 10 2021 at 11:23)</a>:</h4>
<p>still having a bit of hard time with both Rust analyzer and elisp <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>